package org.example.demo1_danyi.two.after;

public class Main {
    public static void main(String[] args) {
        ShapeCalculator calculator = new ShapeCalculator();
        ShapeDrawer drawer = new ShapeDrawer();

        double sideLength = 5.0; // 假设正方形的边长为5
        double area = calculator.calculateAreaOfSquare(sideLength);

        System.out.println("The area of the square is: " + area);
        drawer.drawSquare(sideLength);
    }
}
